﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Props.Backend
{
    public class VendorAccountRepository : RepositoryBase<VendorAccount>
    {
        public VendorAccount GetByName(string name)
        {
            return base.Get(v => v.Name == name).FirstOrDefault();
        }

        protected override string CollectionName
        {
            get { return "vendor_accounts"; }
        }
    }
}
